class UserController < ApplicationController

  def showlogin
    cookies.delete :token
  	@user="123"
  	puts "hahaffffffffffffffffffffffffffffffffffffffffff\n"
  end


  def login
  		
  	cookies[:token]=params[:token].to_s
  	puts "123"
  	puts "input_token:",params[:token]
  	puts "login_token:",cookies[:token].to_s
  	redirect_to p_entries_path
  end



end
